home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000069_amos-request@svcs1.digex.net_Mon Sep 8 13:56:52 1997.msg < prev    next >
Text File  |  1997-10-01  |  4KB  |  87 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id NAA14885
  3.     for <mcox@access.digex.net>; Mon, 8 Sep 1997 13:56:51 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id LAA20657
  6.     for amos-out; Mon, 8 Sep 1997 11:51:17 -0400 (EDT)
  7. Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id LAA20654
  9.     for <amos-list@svcs1.digex.net>; Mon, 8 Sep 1997 11:51:16 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id LAA27109
  12.     for <amos-list@access.digex.net>; Mon, 8 Sep 1997 11:51:09 -0400 (EDT)
  13. Received: (qmail 12390 invoked from network); 8 Sep 1997 15:51:45 -0000
  14. Received: from lp5-8.redrose.net (HELO redrose.net) (mushy-pd@205.246.83.200)
  15.   by mail.redrose.net with SMTP; 8 Sep 1997 15:51:45 -0000
  16. X-Comments: BlackMail headers - Mail to abuse@your_mail.host to report spam.
  17. X-Authenticated-Connect: mushy-pd@lp5-8.redrose.net
  18. X-Authenticated-Timestamp: 11:51:45(EDT) on September 08, 1997
  19. X-HELO-From: redrose.net
  20. X-Mail-From: mushypd@redrose.net
  21. X-Sender-IP-Address: 205.246.83.200
  22. From: Mush <mushypd@redrose.net>
  23. Reply-To: mushypd@redrose.net
  24. To: amos-list@access.digex.net
  25. Date: Mon, 08 Sep 1997 11:54:02 -0500
  26. Message-ID: <yam7190.133.3922656@mail.redrose.net>
  27. X-Mailer: YAM 1.3.3a [020] - Amiga Mailer by Marcel Beck
  28. Organization: Mushroom PD - AMOS Public Domain Library
  29. Subject: LISTVIEW bug in GUI Extension
  30. MIME-Version: 1.0
  31. Content-Type: text/plain
  32. Status: O
  33. X-Status: 
  34.  
  35. Im not too sure if anyone else has noticed (I think Adam Parrott had at
  36. some point) there is a bug in the GUI extension (both 1.62 and 1.63) which
  37. causes the conents of the displayed listview to become corrupt.
  38.  
  39. I have noticed this several times when testing my mailinglist manager with
  40. large lists of files (im testing with 2,000+ entries). I have however,
  41. found a way to overcome the problem. The contents are not altered within
  42. the array being used, it is some kind of refresh bug. If you call the
  43. routine GUI SET again shortly after, it should be OK. The best way to
  44. overcome it (how I have done it anyhow) is like so:
  45.  
  46. Procedure GETLIST[LST$]
  47.    (blah blah blah)
  48.    Gui Set 1,0,1,ARRAY(TP$(0))
  49. End Proc
  50.  
  51. Procedure MAIN
  52.    Proc GETLIST["AMOSList"]
  53.    Gui Set 1,0,0,0
  54.    ' The list is displayed, but can be corrupted at this time if the system
  55.    ' wants to be a pain in the bum.
  56.  
  57.    Repeat
  58.       Gui Set 1,0,1,ARRAY(TP$(0)) : Rem Reset the display so it is corrected
  59.  
  60.       A=Gui Wait
  61.  
  62.       If A=0: Rem A Listview Function was Called
  63.          Gui Set 1,0,1,ARRAY(TP$(0)) : Rem Reset to prevent Error
  64.          ....  Add any other Code for the listview function ...
  65.       End If
  66.    Until A=-1 or A=1
  67. End Proc
  68.  
  69. ... And hey presto, its gone! If you dont have the set just before the GUI
  70. Wait command, you often see the mess on the screen until you hit something
  71. inside the listview window, so its nicer to leave it there. Please feel
  72. free to place this message/example in the GUI Guide on the GUI SET command
  73. for Listview, or under the "Known Problems" section.
  74.  
  75. Pietro, is this a bug as such, or just something that the OS does rather
  76. crazily?
  77.  
  78. Andrew "Mushroom" Kellett
  79. --
  80.  Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS* + IAPA Team *AMIGA*
  81.   alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
  82.  
  83.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  84.  
  85.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  86.                             mushy-pd.dyn.ml.org
  87.